//! \file errors.h

#ifndef _ERROR_H_
#define _ERROR_H_

//------------------------------------------------------------------------------

#define ERR(error, description) error,
typedef enum {
    ALL_RIGHT = 0,
    #include "error_list.h"
} TBGError;
#undef ERR

//------------------------------------------------------------------------------

const char *StrError(TBGError err);

//------------------------------------------------------------------------------

#endif //_ERROR_H_

